﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework;

namespace odinshrine
{
    class Helico:BadGuys
    {
        BadGuys badtosend;
        public Helico(ContentManager Content, BadGuys badEnvoyés)
            : base(Content.Load<Texture2D>("images/heli"), 1, 1, 20, 10, Armerie.MG, 100)
        {
            badtosend = badEnvoyés;
        }

        /*public override void IA(Joueur player, GameTime gameTime, map Map, GestionPhysics phys)
        {
            GestionEnnemi enn = new GestionEnnemi();
            if (Position.X - player.Position.X >= 2 && Position.X - player.Position.X <= 800)
            {
                Position.X--;
            }
            else if (Math.Abs(Position.X - player.Position.X) < 2)
            {
                enn.tabEnnemi1.AddLast(badtosend);
            }
            else
            {
                Position.X++;
            }
        }*/
    }
}
